<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html>
<ui:composition xmlns:ui="http://java.sun.com/jsf/facelets"
                template="/template.xhtml"
                xmlns:h="http://java.sun.com/jsf/html"
                xmlns="http://www.w3.org/1999/xhtml"
                xmlns:p="http://primefaces.org/ui"
                xmlns:f="http://java.sun.com/jsf/core">

    <ui:define name="title">
        HelpDeskRu:UserZone
    </ui:define>

    <ui:define name="top_menu">
        <ui:include src="/user/main_menu.xhtml"/>
    </ui:define>
    
    
    <ui:define name="content">
        
        <h:form id="form" style="max-width: 500px; padding: 19px 29px 29px; margin: auto auto">

            <h:outputLabel value="#{prop['user.theme.outputLabel']}"/>
            <br/>
            
            <p:themeSwitcher style="width:150px" value="#{loginController.theme}">
                <f:selectItem itemLabel="#{prop['user.theme.itemLabel']}" itemValue="" />
                <f:selectItems value="#{loginController.themes}" />
                <p:ajax listener="#{loginController.saveTheme}" />
            </p:themeSwitcher>            
            
            
        </h:form>

        
    </ui:define>
    
</ui:composition>



